package org.colafries.admin.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author colafries
 * @version v1.0
 * @ClassName QueryResultRspVO
 * @Description
 * @date Created in 2024/4/18
 **/
@Data
public class QueryResultRspVO {
    @ApiModelProperty(name = "查询SQL")
    private String querySql;
    @ApiModelProperty(name = "查询结果列")
    private List<String> columns;
    @ApiModelProperty(name = "查询结果")
    private List<LinkedHashMap<String, Object>> rowData;
    @ApiModelProperty(name = "总数")
    private Integer total;
    @ApiModelProperty(name = "")
    private Integer page;
    @ApiModelProperty(name = "")
    private Integer limit;
}
